package com.example.commentservice.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient("blog-userservice")
public interface IUserservice {
    @RequestMapping("/user/getusername")
    public String getusername(@RequestParam("uid")Long uid);
}
